//
//  NextVideoViewController.m
//  LuCoding
//
//  Created by lanou3g on 15/10/14.
//  Copyright © 2015年 自由科技. All rights reserved.
//

#import "NextVideoViewController.h"

@interface NextVideoViewController ()

@end

@implementation NextVideoViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.view.backgroundColor = [UIColor whiteColor];

    UIWebView *webV = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height)];

    NSArray *array = [_string componentsSeparatedByString:@"&"];

    NSString *str1 = @"http://lol.duowan.cn/";

    NSString *str2 = array.firstObject;

    NSString *str3 = [str1 stringByAppendingString:str2];

    NSString *str4 = [str3 stringByAppendingString:@".html"];

    NSMutableURLRequest *request = [[NSMutableURLRequest alloc] initWithURL:[NSURL URLWithString:str4]];
    webV.scrollView.bounces = YES;
    [webV loadRequest:request];
    [self.view addSubview:webV];
}




@end
